maplistmodel: Fix items-changed emission
authorMatthias Clasen <mclasen@redhat.com>
Thu, 14 Jul 2022 20:50:22 +0000 (16:50 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 14 Jul 2022 20:53:09 +0000 (16:53 -0400)
commit678eb8ab76bda38829be4de8371ced6f43f781ff
tree9a6b13fa84b651ec012346a716dace31549167ea
parentc46b5ed6461fd54b739a04b17ac00b31d607aec8
maplistmodel: Fix items-changed emission

We were modifying the removed value before passing
it to the items-changed signal, so we always ended
up with removed == 0 in our signal emission, instead
of passing the original value on, as we should.

Pointed out in !4870
gtk/gtkmaplistmodel.c